package org.ehe.business.workstation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.ehe.business.workstation.domain.Workstation;

/**
 * 工位信息Mapper接口
 * 
 * @author zhangnn
 * @date 2025-10-23
 */
@Mapper
public interface WorkstationMapper extends BaseMapper<Workstation> {

    /**
     * 根据工位编号查询
     * 
     * @param code 工位编号
     * @return 工位信息
     */
    Workstation selectByCode(@Param("code") String code);
}
